﻿namespace SS.WPF.Framework.Selection
{
    using System.Collections;

    /// <summary>
    /// The interface is used to manage selected item
    /// </summary>
    public interface IStructuredSelection : ISelection, IEnumerable
    {
        /// <summary>
        /// The get first.
        /// </summary>
        /// <returns>
        /// The get first.
        /// </returns>
        object GetFirst();

        /// <summary>
        /// The get first.
        /// </summary>
        /// <typeparam name="T">
        /// </typeparam>
        /// <returns>
        /// </returns>
        T GetFirst<T>();
    }

    /// <summary>
    /// The generic interface is used to manage selected item
    /// </summary>
    public interface IStructuredSelection<T> : IStructuredSelection
    {
    }
}